﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="../../../fly/fly.js" type="text/javascript"></script>
    <script src="../../fly.ui.js" type="text/javascript"></script>
    <script src="../../plugins/tooltip/tooltip.js" type="text/javascript"></script>
    <link href="../../plugins/themes/blue/fly-base.css" rel="stylesheet" type="text/css" />
    <link href="../../plugins/themes/common/tooltip.css" rel="stylesheet" type="text/css" />
    <script>
        var box;
        $(function () {
            box = new $.ui.Tooltip({
                box: "#name",
                text:"不能为空"
            })
            box.show()
        })

    </script>
</head>
<body>
    <br /><br />
    <div style="overflow:auto;height:400px;">
    <br /><br />
    <input type="type" name="name" value="123 " id="name" style="margin-top:200px" /><br />
    <input type="type" name="name" value="456 " id="Type1" style="margin-top:50px" onfocus="$.ui.Tooltip.show(this)" tooltip="输入有误" />
    </div>
</body>
</html>
